package com.ostrich.shopping.utils;

import java.text.SimpleDateFormat;

/**
 * @Author : yaotianxue
 * @Time : On 2023/9/27 10:59
 * @Description : DateTimeUtils
 */
public class DateTimeUtils {

    public static String getCurrTimeStr(){
        long l = System.currentTimeMillis();
        String str = "yyyy-MM-ss hh:mm:ss";
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat(str);
        String format = simpleDateFormat.format(l);
        return format;
    }
}
